Skip to content

build(deps): Bump mlua from 0.11.6 to 0.12.2 - #10

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/mlua-0.12.2
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/mlua-0.12.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 12, 2026 •

Copy link
Copy Markdown

Bumps mlua from 0.11.6 to 0.12.2.

Release notes

Sourced from mlua's releases.

v0.12.2

What's Changed

  • Luau updated to 0.740
  • Added Value::weak_lua helper (#714)
  • Added recursion_limit to SerializeOptions and DeserializeOptions (defaults to 128)
  • Reject fractional numbers when converting to Rust integers on Lua 5.3+ and Luau
  • Fix precision loss when comparing integer and floating point Values
  • Table::equals now follows the backend's native __eq semantics
  • Fix raw identifiers and callback types in derive macros
  • Prevent scoped userdata and callbacks from outliving their scope during cleanup
  • Fix panic and error handling in callbacks and userdata destructors to avoid corrupting Lua state
  • Return errors on reference stack exhaustion and improve stack checks
  • Fix async thread cancellation, stack cleanup, and global hook restoration when recycling threads
  • Fix Luau require from chunks loaded by path (#735) and require context lifetimes
  • perf: Reduce callback overhead
  • perf: Improve serde performance

Full Changelog: mlua-rs/mlua@v0.12.1...v0.12.2

v0.12.1

What's Changed

  • Lua 5.5 updated to 5.5.1
  • Luau updated to 0.736
  • Allow #[mlua::userdata_impl] to be used in a different module from #[derive(UserData)] (#726)
  • Fix coroutine stack handling after yielding from hooks (#723)

Full Changelog: mlua-rs/mlua@v0.12.0...v0.12.1

v0.12.0

Highlights

More ergonomic UserData building blocks

  • Declaratively implement UserData with #[derive(UserData)] and register methods/fields with the new #[mlua::userdata_impl] attribute macro.
  • UserDataOwned<T> wrapper takes ownership of userdata and implements FromLua
  • UserDataMethods::add_method_once/add_async_method_once
  • __todebugstring metamethod for pretty-printing userdata when debugging
  • MaybeSync trait for userdata under the send feature

Reorganized public API

Types are now grouped into focused modules: chunk, debug, error, function, table, string, state, thread, userdata and luau.

Thread lifecycle callbacks

Hook into coroutine create/resume/yield events across all Lua versions (when using mlua API).

Luau improvements

... (truncated)

Changelog

Sourced from mlua's changelog.

v0.12.2 (Oct 03, 2026)

  • Luau updated to 0.740
  • Added Value::weak_lua helper (#714)
  • Added recursion_limit to SerializeOptions and DeserializeOptions (defaults to 128)
  • Reject fractional numbers when converting to Rust integers on Lua 5.3+ and Luau
  • Fix precision loss when comparing integer and floating point Values
  • Table::equals now follows the backend's native __eq semantics
  • Fix raw identifiers and callback types in derive macros
  • Prevent scoped userdata and callbacks from outliving their scope during cleanup
  • Fix panic and error handling in callbacks and userdata destructors to avoid corrupting Lua state
  • Return errors on reference stack exhaustion and improve stack checks
  • Fix async thread cancellation, stack cleanup, and global hook restoration when recycling threads
  • Fix Luau require from chunks loaded by path (#735) and require context lifetimes
  • perf: Reduce callback overhead
  • perf: Improve serde performance

v0.12.1 (Aug 29, 2026)

  • Lua 5.5 updated to 5.5.1
  • Luau updated to 0.736
  • Allow #[mlua::userdata_impl] to be used in a different module from #[derive(UserData)] (#726)
  • Fix coroutine stack handling after yielding from hooks (#723)

v0.12.0 (Jul 05, 2026)

Changes since v0.12.0-rc.2

  • Create root re-exports are refactored (only essentials are re-exported, the rest is in the new submodules)
  • Added ThreadStatus::Normal and Thread::is_normal (mimic coroutine.status)
  • Added Lua::set_jit_options with support of Luau JIT inliner (Luau)
  • Added Value::as_vector/Value::is_vector (Luau)
  • Added Table::remove
  • serde: tables with the array metatable are always encoded as arrays (incl. detect_mixed_tables option)
  • impl Hash for BorrowedStr/BorrowedBytes
  • Lua::current_thread resolves implicit async threads to their root owner (#706)
  • Bugfixes and improvements

v0.12.0-rc.2 (Jun 06, 2026)

  • Add #[derive(UserData)] and #[mlua::userdata_impl] macros
  • Support thread create/resume/yield callbacks for all Lua versions (including Luau)
  • Support to_alias_override/to_alias_fallback in Require trait (Luau)
  • Prevent XRc overflow when dropping RawLua with foreign Lua state
  • implement Not for StdLib (#699)
  • Fix String::to_pointer return NULL in Lua <5.4

v0.12.0-rc.1 (Apr 21, 2026)

  • Rust 2024 edition

... (truncated)

Commits
  • a186d46 v0.12.2
  • 39d5863 Update CHANGELOG
  • ee6fa80 Add Value::weak_lua helper
  • 30b04f1 Update CHANGELOG
  • a1781d5 Reduce callback overhead
  • 68d9184 Optimize integer conversion from Luau numbers and strings
  • e5230e3 Separate userdata type cache hits from map lookup
  • 134af85 Reuse the table lock for metatable checks
  • 6579794 Batch vector and array conversion from Lua tables
  • 6a74d39 mlua_derive: allow lifetime parameters in userdata methods
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 12, 2026
Bumps [mlua](https://github.com/mlua-rs/mlua) from 0.11.6 to 0.12.2.
- [Release notes](https://github.com/mlua-rs/mlua/releases)
- [Changelog](https://github.com/mlua-rs/mlua/blob/main/CHANGELOG.md)
- [Commits](mlua-rs/mlua@v0.11.6...v0.12.2)

---
updated-dependencies:
- dependency-name: mlua
  dependency-version: 0.12.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/mlua-0.12.2 branch from 671fd7d to 8719ceb Compare October 14, 2026 07:43
@veltzer

veltzer commented Oct 18, 2026

Copy link
Copy Markdown
Owner

Dependabot version updates were turned off fleet-wide (.github/dependabot.yml removed). Dependency and action bumps are done deliberately across the fleet instead.

@veltzer veltzer closed this Oct 18, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 18, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@veltzer
veltzer deleted the dependabot/cargo/mlua-0.12.2 branch October 18, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant